package com.gxa.login.service;

import com.netflix.client.http.HttpRequest;
import dto.ResultDTO;
import entity.Member;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {

    //邮件登录
    ResultDTO loginByEmail(Member member);

    //手机号登录
    ResultDTO loginByPhone(Member member);

    //发邮件
    ResultDTO sendCode(Member member);

    //登出
    ResultDTO logout(HttpServletRequest request);
}
